package com.hist.medical_treatment.service.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hist.medical_treatment.dao.InvoiceDao;
import com.hist.medical_treatment.entity.Invoice;
import com.hist.medical_treatment.service.InvoiceService;

@Service
public class InvoiceServiceImpl implements InvoiceService{
      @Autowired
      InvoiceDao dao;
	@Override
	public List<Invoice> getInvoice() {
		// TODO Auto-generated method stub
		return dao.getInvoice();
	}
	@Override
	public String nextInvoice() {
		// TODO Auto-generated method stub
		return dao.nextInvoice();
	}
           
}
